﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;

namespace ARR.Entities
{
    [DataContract]
    [Serializable]
    public class SalesCategoryComparisonByStore : EntityBase
    {
        
        [DataMember]
        SalesCategoryComparisonByStoreRow row;

        public SalesCategoryComparisonByStore(SalesCategoryComparisonByStoreRow row)
        {
            this.row = row;
        }

        public SalesCategoryComparisonByStore()
        {
            row = new SalesCategoryComparisonByStoreRow();
        }

        public override void Initialize()
        {
            row = new SalesCategoryComparisonByStoreRow();
        }


        [DataMember]
        public int StoreId
        {
            get { return row.StoreId; }
            set { row.StoreId = value; }
        }

        [DataMember]
        public string StoreCode
        {
            get { return row.StoreCode; }
            set { row.StoreCode = value; }
        }

        [DataMember]
        public string StoreName
        {
            get { return row.StoreName; }
            set { row.StoreName = value; }
        }

        [DataMember]
        public string Region
        {
            get { return row.Region; }
            set { row.Region = value; }
        }

        [DataMember]
        public string Subregion
        {
            get { return row.Subregion; }
            set { row.Subregion = value; }
        }

        [DataMember]
        public string City
        {
            get { return row.City; }
            set { row.City = value; }
        }

        [DataMember]
        public string State
        {
            get { return row.State; }
            set { row.State = value; }
        }

        [DataMember]
        public string SEL
        {
            get { return row.SEL; }
            set { row.SEL = value; }
        }

        [DataMember]
        public string ShoppingOccasion
        {
            get { return row.ShoppingOccasion; }
            set { row.ShoppingOccasion = value; }
        }

        [DataMember]
        public string Size
        {
            get { return row.Size; }
            set { row.Size = value; }
        }

        [DataMember]
        public string Address
        {
            get { return row.Address; }
            set { row.Address = value; }
        }

        [DataMember]
        public string Phone
        {
            get { return row.Phone; }
            set { row.Phone = value; }
        }

        [DataMember]
        public string Fax
        {
            get { return row.Fax; }
            set { row.Fax = value; }
        }

        [DataMember]
        public string Format
        {
            get { return row.Format; }
            set { row.Format = value; }
        }

        [DataMember]
        public string PBL
        {
            get { return row.PBL; }
            set { row.PBL = value; }
        }

        [DataMember]
        public string Mail
        {
            get { return row.Mail; }
            set { row.Mail = value; }
        }

        [DataMember]
        public string Contact
        {
            get { return row.Contact; }
            set { row.Contact = value; }
        }

        [DataMember]
        public string SiteLocation
        {
            get { return row.SiteLocation; }
            set { row.SiteLocation = value; }
        }

        [DataMember]
        public string ShopType
        {
            get { return row.ShopType; }
            set { row.ShopType = value; }
        }

        [DataMember]
        public string Layout
        {
            get { return row.Layout; }
            set { row.Layout = value; }
        }

        [DataMember]
        public string OpeningHours
        {
            get { return row.OpeningHours; }
            set { row.OpeningHours = value; }
        }

        [DataMember]
        public string Attribute1
        {
            get { return row.Attribute1; }
            set { row.Attribute1 = value; }
        }

        [DataMember]
        public string Attribute2
        {
            get { return row.Attribute2; }
            set { row.Attribute2 = value; }
        }

        [DataMember]
        public string Category
        {
            get { return row.Category; }
            set { row.Category = value; }
        }

        [DataMember]
        public decimal Units
        {
            get { return row.Units; }
            set { row.Units = value; }
        }

        [DataMember]
        public decimal Sales
        {
            get { return row.Sales; }
            set { row.Sales = value; }
        }

        [DataMember]
        public decimal GM
        {
            get { return row.GM; }
            set { row.GM = value; }
        }

        [DataMember]
        public decimal InventoryCost
        {
            get { return row.InventoryCost; }
            set { row.InventoryCost = value; }
        }
    }
}
